@extends('wechat.base')
@section('title')
个人中心
@endsection
@section('othercss')
<style>
    .parent {
        width:100%;
        height:20%;
        background-image: url(images/mybg.png);
        background-repeat: no-repeat;
        background-size:100% 100%;
        position: relative; 
    }
    .child {
        width:200px;
        height:80%;
        margin: auto;  
        position: absolute;  
        top: 0; left: 0; bottom: 0; right: 0;
        text-align: center
    }
</style>
<link rel="stylesheet" type="text/css" href="{{asset('css/Hui/Hui.css')}}">
@endsection
@section('content')
<div class="parent">
    <div class="child">
        <div class="sub_child">
            <img style="border-radius: 50%;width:50px;height:50px" src="{{$avatar}}">
            <br>{{$user->name}}<br>
            {{$user->telphone}}
        </div>
    </div>
</div>
 <div class="weui-cells">
    <a class="weui-cell weui-cell_access" href="{{asset('my/order')}}">
        <div class="weui-cell__bd">
            <p>我的订单</p>
        </div>
        <div class="weui-cell__ft">
        </div>
    </a>
    <a class="weui-cell weui-cell_access" href="{{asset('my/bill')}}">
        <div class="weui-cell__bd">
            <p>我的账单</p>
        </div>
        <div class="weui-cell__ft">
        </div>
    </a>
</div>

@endsection
@section('otherjs')

@endsection